package com.solutec.dia2;

public class Thema0_Zuweisung {

	public static void main(String[] args) {

		int x = 5;
		
		float f1 = (float) 12.0;
		System.out.println(f1);
		
		float f2 = x;
		System.out.println(f2);
		byte x1 = 0;
		boolean re = false;
		
		System.out.println(re +" "+ x1);
		
		byte a = -127;
		byte b = 123;
		short c = -32768;
		short d = -12345;
		System.out.println(a+"  "+ b +" "+ c +" "+ d);
		
		int[]arr[]  = new int[3][3];
		
		for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr.length; j++) {
				arr[i][j] = i+j; 
			}
		}
		for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr.length; j++) {
				System.out.print(arr[i][j] + " ");
			}
			System.out.println();
		}
		
	}

}
